<?php
//
// Set your site default configuration in this file
// 

c::set('using.liriope', 'v0.2BETA');

// Custom Functions
// --------------------------------------------------
include_once(c::get('root.application') . '/functions.php');

//
// Custom Routes
// setRule( rule name, url string, controller action and params )
// --------------------------------------------------
router::setRule( 'series',      'media/series',      'blog/show/dir/media:series' );
router::setRule( 'series-post', 'media/series/!id',  'blog/post/dir/media:series/id/$id' );
router::setRule( 'serieslist',  'media/series/show', 'blog/show/dir/media:series' );
router::setRule( 'series-feed', 'media/series/feed', 'blog/feed/dir/media:series' );

router::setRule( 'enews',        'enews',           'enews/show' );
router::setRule( 'enews-issue',  'enews/issue/!id', 'enews/issue/id/$id' );

router::setRule( 'news',         'news',      'blog/show/dir/news/limit/12' );
router::setRule( 'news-article', 'news/!id',  'blog/post/dir/news/id/$id' );
router::setRule( 'news-list',    'news/show', 'blog/show/dir/news' );
router::setRule( 'news-feed',    'news/feed', 'blog/feed/dir/news' );

router::setRule( 'blog',         'blog',      'blog/show/dir/news/limit/12' );
router::setRule( 'blog-article', 'blog/!id',  'blog/post/dir/news/id/$id' );
router::setRule( 'blog-list',    'blog/show', 'blog/show/dir/news' );
router::setRule( 'blog-feed',    'blog/feed', 'blog/feed/dir/news' );

//
// Site 
// --------------------------------------------------
c::set( 'url', 'http://nrhc.ubun' );
c::set( 'site.title', 'NRHC' );

//
// Page
// --------------------------------------------------
c::set( 'page.title', 'North Rock Hill Church' );
c::set( 'page.copyright', 'North Rock Hill Church' );
c::set( 'page.description', 'We glorify God by making disciples who impact the world.' );
c::set( 'page.author', 'North Rock Hill Church' );
c::set( 'page.keywords', 'nrhc, north rock hill, church, disciples, glorify, God, Christ, Jesus, rock hill' );

//
// Theme
// --------------------------------------------------
c::set( 'theme', 'nrhc' );
c::set( 'form.theme', 'nrhc-lite' );

//
// Config
// --------------------------------------------------
c::set( 'search.ignore', array('home','search','voucher','form/discover'));

//
// Debugging
// --------------------------------------------------
c::set( 'errors.display', 0 );
c::set( 'debug', TRUE );
c::set( 'cache', FALSE );
c::set( 'index', TRUE );

?>
